package com.dy.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dy.common.annotation.Excel;
import com.dy.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 inspection_report
 *
 * @author anps
 * @date 2022-08-04
 */
public class InspectionReport extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 检测报告唯一键 */
    private Long id;

    /** 报告编码 */
    @Excel(name = "报告编码")
    private String code;

    /** 报告名称 */
    @Excel(name = "报告名称")
    private String name;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private Long deptId;

    /** 所属机构 */
    @Excel(name = "所属机构")
    private Long institutionId;

    /** 上传人 */
    @Excel(name = "上传人")
    private Long userId;

    /** 上传季度 */
    @Excel(name = "上传季度")
    private String session;

    /** 报告存储位置 */
    @Excel(name = "报告存储位置")
    private String reportUrl;
    /***
     * 拼接好的字符
     */
    private String splicingStr;


    private String deptName;

    private String institutionName;

    private String createUserName;

    private String jdName;
    //季度区间
    private String dateSection;

    private String uploadStatus;

    private String status;

    private String yeayName;


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    private String year;

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getDateSection() {
        return dateSection;
    }

    public void setDateSection(String dateSection) {
        this.dateSection = dateSection;
    }

    public void setId(Long id){
        this.id = id;
    }

    public Long getId(){
        return id;
    }
    public void setCode(String code){
        this.code = code;
    }

    public String getCode(){
        return code;
    }
    public void setName(String name){
        this.name = name;
    }

    public String getName(){
        return name;
    }
    public void setDeptId(Long deptId){
        this.deptId = deptId;
    }

    public Long getDeptId(){
        return deptId;
    }
    public void setInstitutionId(Long institutionId){
        this.institutionId = institutionId;
    }

    public Long getInstitutionId(){
        return institutionId;
    }
    public void setUserId(Long userId){
        this.userId = userId;
    }

    public Long getUserId(){
        return userId;
    }
    public void setSession(String session){
        this.session = session;
    }

    public String getSession(){
        return session;
    }
    public void setReportUrl(String reportUrl){
        this.reportUrl = reportUrl;
    }

    public String getReportUrl(){
        return reportUrl;
    }

    public String getSplicingStr() {
        return splicingStr;
    }

    public void setSplicingStr(String splicingStr) {
        this.splicingStr = splicingStr;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getJdName() {
        return jdName;
    }

    public void setJdName(String jdName) {
        this.jdName = jdName;
    }

    public String getUploadStatus() {
        return uploadStatus;
    }

    public void setUploadStatus(String uploadStatus) {
        this.uploadStatus = uploadStatus;
    }


    public String getYeayName() {
        return yeayName;
    }

    public void setYeayName(String yeayName) {
        this.yeayName = yeayName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("deptId", getDeptId())
            .append("institutionId", getInstitutionId())
            .append("userId", getUserId())
            .append("session", getSession())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("reportUrl", getReportUrl())
            .toString();
    }
}
